package com.dmgis.qxfw.dataservice.businessservice.common.util;

public class WXConstants {
    public  final  static  String DOMAINNAME="http://xdxz85.natappfree.cc/";//统一配置微信域名,注意要http,

    /**
     * 获取access_token的接口地址（GET） 限2000（次/天）
     */
    public final static String access_token_url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s";
    /**
     * 获取网页授权认证的token
     */
    public final static String oauth2_access_token_url = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code";
    public final static String jsapi_ticket_url = "https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=%s&type=jsapi";//GET方式请求获得jsapi_ticket

    public final static String user_info_url = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=%s&openid=%s&lang=zh_CN";//用户信息获取
    /**
     * 静默网页授权接口地址
     */
    public final static String snsapi_base_url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=%s&redirect_uri=%s?action=viewtest&response_type=code&scope=snsapi_base&state=1#wechat_redirect";
    /**
     * dsq
     **/
    public final static String APPID = "wxd1e307e20d6a2cad";
    public final static String APPSECRET = "0a9c8510ff6007e167c3e4e1c9f02528";
    public  final  static  String PUBLICID="gh_3a733c10120c";


    /**
     * 最后定位时间
     */
    public final  static String LAST_LOCATION_TIME="LAST_LOCATION_TIME";
}
